package com.chenglai.video.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * @author rjh
 */
@ApiModel(value = "t_cl_video_category")
@Table(name = "t_cl_video_category")
public class VideoCategory implements Serializable {


    /**
     * 主键
     */
    @Id
    @Column(name = "category_id", updatable = false)
    @ApiModelProperty(value = "主键")
    private Integer categoryId;

    /**
     * 门店ID
     */
    @Column(name = "shop_id")
    @ApiModelProperty(value = "门店ID")
    private Integer shopId;

    /**
     * 视频分类名称
     */
    @Column(name = "category_name")
    @ApiModelProperty(value = "视频分类名称")
    private String categoryName;

    /**
     * 状态 0已删 1未删
     */
    @Column(name = "is_delete")
    @ApiModelProperty(value = "状态 0已删 1未删")
    private Integer isDelete;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    private List<VideoInfo> videoInfoList;

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }


    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }


    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }


    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }


    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public List<VideoInfo> getVideoInfoList() {
        return videoInfoList;
    }

    public void setVideoInfoList(List<VideoInfo> videoInfoList) {
        this.videoInfoList = videoInfoList;
    }
}
